def func(a, b=[]):
    b.append(a)
    print(b)


func(1)  # [1,]
func(2, [11, 22, 33])  # [11, 22, 33, 2]
func(3)  # [1, 3]
